package cn.app.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.app.dao.app_version.AppVersionDao;
import cn.app.entity.AppVersion;
import cn.app.service.AppVersionService;
@Service
@Transactional
public class AppVersionServiceImpl implements AppVersionService {
		
	@Autowired
	private AppVersionDao appVersionDao;

	@Override
	public List<AppVersion> findAllByAppId(Integer id, String publishStatus) {
		// TODO Auto-generated method stub
		return appVersionDao.findAllByAppId(id,publishStatus);
	}

	@Override
	public Integer saveAppVersion(AppVersion appVersion) {
		// TODO Auto-generated method stub
		return appVersionDao.saveAppVersion(appVersion);
	}

}
